﻿using Kratos.Framework.ContentManagement.Models.SystemRights;
using Kratos.Framework.Infrastructures;

namespace Kratos.Framework.Modules.Core.Services
{
    public interface IGroupService
    {
        /// <summary>
        /// 获取所有组  分页数据
        /// </summary>
        PageList<Group> GetListByPage(int? pageIndex, int? pageSize, out int totalCount);

        void Save(Group model);

        void Delete(Group model);

        void Update(Group model);

        Group Get(int id);
    }
}
